import "./assets/main.css";

import { createApp } from "vue";
import { createPinia } from "pinia";
import ElementPlus from "element-plus";
import "element-plus/dist/index.css";
import App from "./App.vue";
import router from "./router";
import { createPersistedState } from "pinia-plugin-persistedstate";

// vue virtual scroller
import "vue-virtual-scroller/dist/vue-virtual-scroller.css"; // 引入它的 css
import VueVirtualScroller from "vue-virtual-scroller"; // 引入它
const pinia = createPinia();
pinia.use(createPersistedState);
const app = createApp(App);

app.use(createPinia());
app.use(router).use(VueVirtualScroller).use(ElementPlus).use(pinia);

app.mount("#app");
